package com.zzzyh.springteans.controller;

import com.zzzyh.springteans.pojo.LogInfo;
import com.zzzyh.springteans.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class LogController {
    @Autowired
    private LogService logService;
    public Boolean insertLogInfo(LogInfo logInfo) {
        return logService.insertLogInfo(logInfo) > 0;
    }
}
